Current mode amplifier, rectifier and multi-function circuit

ABSTRACT

A balanced current amplifier mirrors either a fully differential or single ended input signal into common output circuits in a manner to generate a fully differential output signal without any d.c. bias. Input signal nodes are maintained at a desired voltage by circuit elements other than those of the current mirror circuits, thus freeing the current mirroring elements from having to be sized for this purpose. The sizes of the output transistors are adjustable in order to set the gain of the circuit. In addition to amplifier circuits, a full-wave rectifier, a comparator, and a filter, all operating with current signals, are described. A single circuit module may include all of these circuits with a user provided the capability to program the module to perform any one or more of these functions.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation-in-part of application Ser. No. 08/355,082, filed Dec. 13, 1994, now abandoned, which in turn is a division of application Ser. No. 08/248,383, filed May 24, 1994, now U.S. Pat. No. 5,565,815.

BACKGROUND OF THE INVENTION

This invention relates to current mode signal amplifiers and other current signal circuits which utilize a current amplifier.

It is a principal object of this invention to provide a current amplifier of a type using current mirror circuits that gives a fully differential current signal output without any d.c. bias component, at least whenever the signal input is fully differential or single ended.

It is another object of the present invention to provide a current amplifier whose gain can be easily set.

It is a further object of the present invention to optimize the input characteristics of a current amplifier circuit.

It is also an object of the present invention to provide other improved current signal circuits, including a rectifier, a filter and a comparator.

It is yet another object of the present invention to provide a module which may be configured into any one of a plurality of current signal circuits.

SUMMARY OF THE INVENTION

These and additional objects are realized from the present invention which, briefly and generally, according to a first aspect, forms a current amplifier by mirroring each signal of a two terminal d.c. biased current input into both of two separate output circuits, one for each of two output terminals, in a manner to provide a fully differential output with the d.c. bias cancelled from it. In a specific form of a current amplifier circuit, such an output results from either a fully differential current input signal or a single ended (only one input terminal carrying a signal) one.

According to another aspect of the present invention, the voltages at the two input signal nodes of the current amplifier are controlled by transistor elements separate from the signal mirroring transistors, thereby to control the amplifier input impedance independently of the current mirror circuits. This avoids having to make the signal mirroring transistors, and necessarily also their output transistors, larger than otherwise necessary, thus reducing the size required to implement the current amplifier on an integrated circuit chip.

According to a further aspect of the present invention, the amplifier can be configured as an analog signal rectifier. A half-wave rectifier is brought about by reducing the input bias current of the amplifier to zero. A full-wave rectifier is formed by additionally connecting the output transistors of the amplifier in a different combination.

According to yet another aspect of the present invention, a current amplifier having an extremely low input impedance works with a resistor-capacitor circuit connected to its input to form a current signal filter.

According to still another aspect of the present invention, a current amplifier is utilized as a comparator. The comparator is optionally provided with hysteresis by adding a fixed increment of current to the amplifier input signal.

According to another aspect of the present invention, a single circuit module is programmable into any one of a plurality of different functional current signal circuits, such as any of an amplifier, a rectifier, a filter or a comparator.

Additional objects, features and advantages of the various aspects of the present invention will become apparent from the following description of its preferred embodiments, which description should be taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates the inputs and outputs of a current amplifier which embodies the various aspects of the present invention;

FIG. 2 is a schematic diagram of a first embodiment of the current amplifier of FIG. 1;

FIG. 3 is a circuit diagram of the current sources used in the current amplifier of FIG. 2;

FIG. 4 is a schematic diagram of a second embodiment of the current amplifier of FIG. 1;

FIG. 5 shows an alternate implementation of one portion of the embodiments of FIGS. 2 and 4;

FIG. 6 shows an alternate implementation of another portion of the embodiments of FIGS. 2 and 4;

FIG. 7 is a circuit diagram of two circuit portions used in each of the current amplifier embodiments of FIGS. 2 and 4;

FIG. 8 shows use of the current amplifier of the present invention to form a low pass filter for current signals;

FIG. 9 shows use of the current amplifier of FIG. 4 to form a fully differential signal comparator with adjustable hysteresis;

FIG. 10 shows a modification of the amplifier circuits of either FIGS. 2 or 4;

FIG. 11 is a block diagram of a single circuit module that can be configured into any one of the circuits of FIGS. 4, 8 or 9;

FIGS. 12A, 12B and 12C are waveforms that illustrate operation of the current amplifier circuits of FIGS. 2 and 4 as half-wave rectifiers;

FIG. 13 is a schematic diagram of a modification of the current amplifier embodiments of FIGS. 2 and 4 to provide the capability to operate as a full wave rectifier; and

FIGS. 14A, 14B, 14C and 14D are waveforms that illustrate operation of the circuit of FIG. 13 as a full wave rectifier.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring initially to FIG. 1, a current amplifier 45 has current signal inputs in conductors 41 and 42, and current signal outputs in conductors 47 and 49. The specific embodiments of the current amplifier 45 described below each provide a fully differential current output in lines 47 and 49. That is, the output line 47 carries a positive going signal that is matched by a negative going signal in the line 49, or the other way around, depending upon the polarity of the signal. The current signals in the lines 47 and 49 have equal magnitude functions but are of opposite sign. For example, when the signal in the line 47 is increasing in magnitude, in the case of a fully differential output, the signal in the line 49 is decreasing in magnitude by the same amount. This fully differential output results, in the embodiments herein, when the input is either also fully differential (FIG. 4) or is single ended (FIG. 2).

The embodiment described below with respect to FIG. 4 accepts a fully differential input signal and, as a result, provides a fully differential output signal. The embodiment described below with respect to FIG. 2, however, accepts a signal in only the input line 41, the input line 42 (FIGS. 1 and 4) not being used. A fully differential output signal also results from the circuit embodiment of FIG. 2. Either embodiment can be provided with means to vary the amplification factor and/or other operating parameters, in response to a control signal in lines 43.

The first current amplifier embodiment, shown in FIG. 2, will now be described. This circuit is connected at a line 71 to one power supply terminal V_(DD), which is usually a positive voltage, and at a line 73 to another power terminal V_(SS), which is preferably a negative voltage with an absolute magnitude equal to V_(DD), Alternatively, in other specific circuits, V_(SS) is held at ground potential.

Two sources 75 and 82 of bias current I_(B1) in respective lines 77 and 83 can be of any standard design, such as that conceptually illustrated in FIG. 3. Current is maintained constant through a resistance R1 by the voltage at a node 98 being compared by a differential amplifier 95 with a reference voltage R_(REF2) applied to a line 97. More details of a circuit for generating the bias currents is given in FIG. 5, where elements functioning the same are identified by the same reference number but with a prime (') added. Rather than using a separate constant current source of the type of FIG. 3 everywhere required in the current mode circuit, a single such circuit is connected to drive a mirroring transistor 121. The current through that transistor is mirrored through transistors 123 and 125, which are connected, respectively, to nodes 79 and 85 of the FIG. 2 amplifier.

The current sources 75 and 82 drive current through respective series connected transistors M4 and M5. The current through the transistor M4 is the bias current I_(B1), while the current through the transistor M5 is a sum of that bias current plus the input current I_(S) that is inserted through line 41 into node 85. The input current I_(S) will generally include both positive (flowing in the direction shown) and negative (flowing in an opposite direction) components.

Each of the transistors M4 and M5 of FIG. 2 is a mirroring transistor. The current through the transistor M4 is mirrored to output transistors M7 and M8. Similarly, the current through the transistor M5 is mirrored to output transistors M6 and M9. The output transistors M6 and M7 are connected in series across the voltage supply lines 71 and 73, with the output line 47 connected between them. Similarly, the output transistors M8 and M9 are connected across the voltage supply lines 71 and 73 with the output signal line 49 connected between them. Because the output transistor M6 is necessarily of a different type (p- or n-type) than its mirroring transistor M5, an appropriate conversion is made by a circuit indicated as 89 which can include yet another multi-transistor current mirror circuit. A similar conversion is made at 91 for the output transistor MS.

The circuit diagram of FIG. 7 is an example implementation of the blocks 89 and 91. This circuit acts as a current mirror which also inverts the polarity of the current. For example, a current through the transistor M4 (FIG. 2) toward V_(SS) is mirrored through the circuit 91 into a current through the transistor M8 which flows from V_(DD). Thus, a current through an n-channel device (transistor M4) is mirrored into a current through a p-channel device (transistor M8). The circuit 89 is the same, operating between transistors M5 and M6. No such conversion is required between the transistors M4 and M7, or between the transistors M5 and M9, because the transistors in each pair are of the same type.

The current amplifier of FIG. 2 combines two basic current mirror circuits (a first formed of transistors M4, M7 and current source 75, and a second formed of transistors M5, M9 and current source 82) in a unique way to provide a fully differential current output in lines 47 and 49 that contains no d.c. component. That is, as indicated by the current notations of FIG. 2 itself, there is no output current I_(O) in either of the lines 47 or 49 unless there is some signal input I_(S). This is brought about by mirroring current from each of the first and second basic current mirror circuits into the other. The current from transistor M4 of the first basic current mirror circuit is mirrored into the second by connection to another output transistor M8 of the second that is connected in series with its own output transistor M9. Similarly, the current from transistor M5 of the second basic mirror circuit is mirrored into the first by connection to the output transistor M6 that is added to the first basic mirror circuit for this purpose. Thus, bias current from the sources 75 and 82 is removed from the signal in each of the output lines 47 and 49 by this "cross-mirroring".

The lack of a d.c. bias in the signal output of a current amplifier is generally desired. One particular application provides a resistance connected across the lines 47 and 49 in order to convert the current output signal into a voltage signal. The circuit of FIG. 2 prevents a d.c. bias from constantly flowing through such an output resistor, thus eliminating a significant d.c. voltage.

The current amplifier of FIG. 2 provides an output current I_(O) that is equal to the input current I_(S) multiplied by a gain factor k. If all of the current mirror ratios are equal to one, then the overall amplification factor k is equal to one. In order to achieve a current mirror ratio of one, the transistors of the individual current mirrors are selected to be the same size. Looking at the current mirror of transistors M5 and M9, for example, it will be seen that the current through the transistor M5 is mirrored into the output transistor M9. Those currents will be the same if the transistors M5 and M9 have the same size. However, if transistor M9 is made to have a channel twice as wide as that of transistor M5 (that is, to have one half of the impedance between its source and drain), then the amplification factor k is equal to 2. In the circuit of FIG. 2, each of the output transistors M6-M9 needs to be of the same size as the other, relative to that of the transistors M4 and M5. The transistors M4 and M5 are made to have the same size. This relative size of the current mirror output transistors can be made programmable by including several transistors selectably connectable in parallel. For example, the output transistor M9 can be replaced by two or more transistors with their sources and drains connected in parallel, each of the individual transistors being of the same size as the mirroring transistor M5. The gates of these several output transistors making up the transistor M9 are then connected to a switch so one, two, three, or however many individual transistors make up the output transistor M9 may be connected together to the gate of the mirroring transistor M5. Such programmability, if provided in a modified version of the circuit of FIG. 2, is controlled by signals in the lines 43 of FIG. 1.

The use of transistors M2 and M3, provided respectively in the current paths of sources 75 and 82, is optional. When used, these transistors control the impedance of the input nodes 79 and 85 rather than the transistors M4 and M5. Since a very low input impedance is generally desired, the input transistors need to have a very low impedance. This is accomplished by making these input transistors very large, having wide channel widths, and/or by increasing the current bias level through these devices. If M4 and M5 are the input transistors, not only must their size be made large but the associated output transistors must be made correspondingly large in order to give the desired amplification factor. This consumes a great deal of space and/or increases the quiescent power consumption of the circuit. But when the transistors M2 and M3 are used, their large size does not compel making any other transistors larger than otherwise is required. Thus, the size of the mirroring transistors M4 and M5 and their several output transistors (M7, M9, etc.) can be significantly reduced when separate input transistors M2 and M3 are used. The amount of space required on a silicon chip to implement the amplifier is thus reduced.

The transistors M2 and M3 operate by setting a voltage at their respective nodes 79 and 85 to be that of the reference voltage V_(REF1) applied in the line 93, plus a voltage drop across the gate and source of the devices M2 and M3. The voltage reference applied to the line 93 is chosen to be consistent with operating requirements of input circuits connected to the input nodes 79 and 85.

An alternative way of controlling these added two transistors is, as shown in FIG. 10, to drive their gates from the outputs of booster amplifiers. Outputs of differential amplifiers 135 and 137 drive the gates of the transistors M2' and M3', respectively. The inputs of these amplifiers are connected with the sources of the corresponding transistors, and their non-inverting inputs are commonly connected with a reference voltage V_(REF4). This maintains the nodes 79 and 85 at a constant voltage even while the magnitude of the current input signal is changing. The result is to further reduce the amplifier input impedance, or to obtain the same input impedance with smaller transistors M2' and M3'. Transistors M2' and M3' correspond, respectively, to transistors M2 and M3 of FIG. 2, but are so noted because they may be smaller in size. This reduced size thus further reduces the area of an integrated circuit chip that is required to implement the amplifier of FIG. 2.

Each of the transistors in the amplifier shown in FIG. 2, except for transistors M2 and M3, may be cascoded for a higher gain accuracy and an increased output impedance. An example of a cascoded transistor is given in FIG. 6, wherein transistor 127 corresponds to one of the transistors M7 or M9 of FIG. 2. A cascoding transistor 129 is connected in series with each such transistor, having its gate connected to a reference voltage source V_(REF3).

Referring to FIG. 4, a second current mode amplifier circuit is shown. This embodiment is quite similar to that of FIG. 2 and retains the advantages of its outputs carrying no d.c. bias current and the use of input transistors M2 and M3. Indeed, a majority of the circuit is the same and thus identified by the same reference characters. When an element of the FIG. 4 embodiment is different but corresponds to an element of the FIG. 2 embodiment, the same reference character is used but with a prime (') added. A primary difference between the two embodiments is that the input node 79 of FIG. 4 receives a signal from the line 42. The circuit is adapted to operate with a fully differential current input signal in lines 41 and 42. Another difference between the two embodiments is that the circuit of FIG. 4 shows a detailed implementation of its adjustable impedance output transistors. The gain k of the amplifier is selected by applying an appropriate control signal in lines 43.

The effective width (size) of each of the output transistors M6'-M9' is made to be adjustable by use of the same circuit for each, so only the M9' circuit will be described in detail. That circuit includes two or more individual transistors (three transistors 101, 103, and 105 being shown) connected in parallel through their sources and drains, between the V_(SS) voltage reference line 73 and the signal output line 49. The gates of each of these transistors are connected through respective switches 107, 109 and 111 to either the gate of the mirroring transistor M5 or the V_(SS) line 73, depending upon the state of their respective control signals in control lines 113. The number of the individual transistors 101, 103, 105, . . . which have their gates connected to the gate of the transistor M5 controls the impedance of the output transistor M9'. The size of each of the transistors 101, 103, 105, . . . , in one example, is made to be the same as the transistor M5, although they do not need to all be the same size. The switching signals in the lines 113 are decoded from the control signal 43 by a decoding circuit 115. The control signal 43 is also shown in FIG. 4 to contain data to control the current levels of the bias sources 75 and 82. The decoding circuits 115 convert that data into individual control signals in circuits 121 and 123 to set the bias current level I_(B1) of the sources 75 and 82, respectively.

The level of the bias current I_(B1) of the current amplifier 45 is usually made to be greater than the expected peak input signal level in order to avoid clipping. If the peak signal levels are known to remain constant, the bias current can remain fixed and the ability to control it is unnecessary. However, if the bias level control shown in the circuit of FIG. 4 is utilized, the amplifier can then be used to perform other functions.

Current Mode Filter

Referring to FIG. 8, a low pass filter is shown which is implemented entirely in the current mode. It is unnecessary to convert from a current signal to a voltage signal, pass the voltage signal through a filter with a traditional architecture, and then convert the filtered voltage signal back into a current signal, as is most commonly done. The current amplifier 45 is preferably implemented by either of the FIG. 2 or FIG. 4 circuits. Since the filter of FIG. 8 is illustrated to receive a fully differential input signal, the current amplifier of FIG. 4 is used. If the input signal is single ended (namely, one of the lines held at ground or some other reference potential), either of the current amplifiers of FIGS. 2 or 4 can be employed. Also, other current amplifier circuits will also operate satisfactorily so long as they have similar input characteristics.

An input current signal in lines 295 and 297 will often be obtained from a high output impedance circuit, such as a current amplifier output. A passive filter network 298 includes a capacitor 299 connected across the lines 295 and 297, thereby to result in a voltage signal being generated across it. That voltage signal is applied to one terminal of each of series resistances 301 and 303 which have their other terminals connected to the respective inputs 41 and 42 of the current amplifier 45. Since the input impedance of the current amplifier is extremely low relative to the output impedance of a circuit driving these inputs, these resistors are virtually connected to a reference voltage and thus convert the voltage across the capacitor 299 into current inputs to the amplifier 45.

It can be seen that the voltage across the capacitor 299 decreases as the frequency of the signal applied to lines 295 and 297 increases. This provides a low pass filter. That is, low frequencies of the input signal are attenuated less by the filter network 298 than are its higher frequencies. The reverse may be obtained, to provide a high pass filter, when the capacitor 299 is replaced by a resistor and the resistors 301 and 303 are replaced by capacitors.

If it is desired to be able to configure the response of the filter, the capacitor 299 and resistors 301 and 303 are made to be individually adjustable in response to control signals in respective lines 302, 304, 306. These control signals are preferably obtained from a signal in the control lines 43 by a decoding circuit 300. In practice, the decoder 300 and the decoder 115 (FIG. 4) are combined in a single circuit, if both are utilized.

Current Signal Comparator

FIG. 9 shows a signal comparator that may be configured to operate with a controlled level of hysteresis. The core of this circuit is also the current amplifier 45. The inputs 41 and 42 to the amplifier 45 receive a current signal from lines 319 and 321. Its outputs 47 and 49 are connected to respective inverters 311 and 313 that serve as buffers, having respective outputs 315 and 317. Each of the inverter circuits 311 and 313 can be made of standard, simple CMOS circuits, thus having very high input impedances. Since the loads on the amplifier output lines 47 and 49 have this very high impedance, a relatively small current input to the current amplifier 45 will drive the voltages at the output lines 47 and 49 to their maximum values. That is, when the input current exceeds a very low threshold level established by the characteristics of the amplifier circuit, the amplifier is driven into saturation. The amplifier output voltage is thus binary in form, and this binary signal is transferred by the inverters 311 and 313 to the output lines 315 and 317, respectively.

If only a single fully differential current signal is applied to the amplifier input lines 41 and 42, the circuit of FIG. 9 compares that signal with substantially zero current. The voltage outputs in lines 315 and 317 are one state when that input is of one polarity, and another state when the input is an opposite polarity. When two fully differential current signals are each connected to the amplifier input lines 41 and 42, the outputs in lines 315 and 317 switch states as the relative magnitude of one of the input signals moves from less than that of the other to a magnitude that is greater than the other.

The circuit of FIG. 9 is shown to be operating with fully differential signals but can also be used with single ended signals, where one of the two conductors carrying the signals is grounded. In that case, the signal is applied to one of the amplifier input lines 41 or 42 and a reference current is connected to the other input line.

The example of a comparator circuit shown in FIG. 9 includes a hysteresis function. Hysteresis is established by adding current to the signals applied to the amplifier inputs 41 and 42. A hysteresis circuit 330 includes current sources 331 and 333, and a switching circuit 334. It provides input bias current of one polarity when the binary signal outputs in output lines 315 and 317 are in one state, and of an opposite polarity when the outputs are in their opposite state. Positive feedback is established. The comparator threshold level is thus effectively reduced in one case and increased in the other. The amount of such reduction and increase is established by the current levels of the sources 331 and 333, which are preferably made to be the same. Hysteresis is thus symmetrically established around the desired threshold.

The constant current sources 331 and 333 provide such added current to the amplifier inputs 41 and 42 when switches 337 and 339 are closed. Current then flows to the inputs 41 and 42 through respective lines 336 and 338 in the direction of the arrows. Switches 337 and 339 are closed when the output in line 315 is at its high level and opened when this output is low. The polarity of this input bias current is reversed in the other case, namely when the output in line 317 is high. In this latter case, switches 335 and 341 are closed, and current flows in the lines 336 and 338 in a direction opposite to that of the arrows in FIG. 9. Switches 335 and 341 are closed when the output in line 317 is high and opened when low. The signals in output lines 315 and 317 are complementary, one being high while the other is low.

The amount of bias current applied to the input signal may be made to be controllable through signals in the control circuit 43. When used, a decoder 323 is connected to receive signals from the control circuit 43. Decoded signals in lines 340 and 342 control the current levels of current sources 331 and 333, respectively. If no hysteresis is desired, the user can set the outputs of these current sources to zero.

Multi-function Current Mode Module

FIG. 11 shows a way of implementing, in a single programmable module, the functions of an amplifier, filter, and comparator, that are described above, as well as a rectifier that is described hereinafter. The user can then program the module to perform one or more of these functions. If this module is implemented on a single integrated circuit chip, a single such chip can then be used for any of these functions, or combinations of functions, as chosen by the user. The reference numbers used on FIG. 11 are common with those used in previous figures of the individual functional circuits, with added circuitry combining these functional circuits being referenced by unique numbers.

The module of FIG. 11 can receive two signals, selecting either one of them, or both of them together, as an input. One signal is received in lines 419 and 421, and another signal in lines 423 and 425. These signal input lines are applied to respective switching circuits 427 and 429, whose outputs are connected to lines 431 and 433. In addition to selectively allowing either one or both of the signals to be connected to the lines 431 and 433, these switching circuits allow for individually reversing the polarity of each input signal. The switching circuits 427 and 429 are controlled by signals in respective lines 435 and 437. These control signals originate in a decoder circuit 415 which is connected to the control lines 43.

This input circuit is particularly useful when the module of FIG. 11 is configured to operate as a signal comparator. Either the sum or the difference of the input signals can be chosen by the switches 427 and 429 for application to the input lines 431 and 433. The switches 427 and 429 also allow for matching the input signal polarities to that of the amplifier inputs 41 and 42.

The filter network 298 can either be connected between the input lines 431, 432 and the current amplifier inputs 41, 42, or bypassed, depending upon the state of switching circuits 447 and 449. The state of these switches is controlled by signals in lines 439 and 441, respectively, originating in the decoder 415.

The hysteresis circuit 330 can similarly be connected to the current amplifier input lines 41 and 42, or not, depending upon the state of the switches 451, as controlled by a signal in a line 443. These switches may not be necessary in all cases, since the current sources within the hysteresis circuit 330 can be set to zero when not used but it is generally desirable to disconnect the circuit from the amplifier input in any case. At the same time that the hysteresis circuit 330 is made operable, output lines 455 and 457 are connected through switches 453 to the respective outputs 315 and 317 of the inverters 311 and 313. The switches 453 are controlled by a signal in a line 445. When the module of FIG. 11 is operating as a comparator, the output switches 453 connect the output lines 455 and 457 to the buffer output lines 315 and 317, respectively.

Thus, it can be seen that the module of FIG. 11 may be programmed through the control lines 43 to operate in any of a number of capacities. By bypassing the filter network 298, turning off the hysteresis circuit 330 and connecting the output lines 455 and 457 to the current amplifier output, a current amplifier function is performed. The gain and bias level of the current amplifier 45 are set by signals in the control lines 43. If that bias current is set to zero, the module then operates as a rectifier. Alternatively, when the filter network 298 is connected into the circuit, a filter function is provided. Lastly, if the filter network 298 is switched out of the circuit, the hysteresis circuit 330 connected to the current amplifier input, and the output lines 455 and 457 connected to the outputs of the inverters 311 and 313, a comparator results. The module of FIG. 11 also provides the flexibility for the user to choose two or more of these functions to operate at the same time, depending upon the application. Of course, fewer or substitute current mode signal processing features may be included instead.

Current Mode Rectifier

If the bias current sources 75 and 82 of the current amplifier circuits of either of FIGS. 2 or 4 are operated with the bias current I_(B1) =0, such a circuit becomes a current signal rectifier. Each of these circuits operates entirely in the current mode, receiving an analog current signal at its input and providing an analog current signal at its output. Without a bias current, the mirroring transistors M4 and M5 operate as a diode, since they pass current in only one direction, resulting each mirroring only one polarity of a bipolar current input signal.

A single ended bipolar input current signal (in the line 41 of FIG. 2; or in one of the lines 41 or 42 of FIG. 4 with no current signal in the other), such as that shown in FIG. 12A, will produce a differential output signal in lines 47 and 49, as shown, respectively, in FIGS. 12B and 12C. This output is a half-wave rectified version of the input. The output analog current signals in lines 47 and 49 are of opposite polarity but are indicated in FIGS. 12B and 12C to be the same because of the convention utilized in FIGS. 2 and 4 where the current flow is shown in lines 47 and 49 to be of opposite polarity. The line 49 current is shown to flow into the circuit and the line 47 current to flow out of the circuit. No internal conversion of the current signal input to a voltage signal is necessary for either of these circuits to operate as a rectifier.

The circuit of FIG. 13 is a version of the current amplifier of FIG. 4 that has been modified in order to operate either as a current amplifier or as a current mode full wave rectifier, depending upon the positions taken by additional two position switches 501 and 507. When the switch 501 is positioned to connect the sources of output transistors M6' and M7' together, and the switch 507 is simultaneously positioned to connect the sources of the output transistors M8' and M9' together, the circuit of FIG. 13 becomes a current amplifier that is essentially the same as the circuit of FIG. 4. But when the switches 501 and 507 are instead simultaneously connected to respective lines 503 and 509, and the current bias sources set with I_(B1) =0, the circuit becomes a full wave rectifier to a differential current signal input in lines 41 and 42. When the switches 501 and 507 are in those positions, the drains of output transistors M6' and M8' are connected together and to the output line 49, and the drains of output transistors M7' and M9' are connected together and to the output line 47. The switches 501 and 507 thus control which of the four output transistors are connected in pairs. In either case, the input current signal is mirrored from each of the mirroring transistors M4 and M5 into both of the pairs of output transistors. Also, the discussions above with respect to FIGS. 5, 6, 7 and 10 are equally applicable to the circuit of FIG. 13, when operating as an amplifier or as a rectifier.

FIGS. 14A and 14B illustrate a bipolar, sinusoidal differential current analog input signal in lines 41 and 42. The curves of FIGS. 14A and 14B are the same because the notation on FIG. 13 already shows the input currents in lines 41 and 42 to be in different directions. They are thus differential signals. Similarly, FIGS. 14C and 14D illustrate a differential full wave rectified analog signal output of lines 47 and 49, respectively, of the circuit of FIG. 13 when its switches 501 and 507 are respectively connected to lines 503 and 509.

A control decoder 115' is similar in operation to the decoder 115 of FIG. 4. Output control signals in circuits 113 control the amplifier gain while those in control circuits 121 and 123 control the bias current level (made to be zero for rectification). In addition, the decoder 115' generates from signals in lines 43 control signals in circuits 505 and 511 to control the positions of the switches 501 and 507, respectively. These switches are made to move together, between a first setting that causes the circuit of FIG. 13 to operate as a current signal amplifier and a second setting that converts this circuit into a full wave rectifier. The circuit of FIG. 13 is thus suitable for use in a configurable current mode signal module. In the configurable module of FIG. 11, the circuit of FIG. 13 may be used for the current amplifier 45.

Applications and Modifications

One advantageous class of uses of the current amplifiers, rectifier, filter, comparator and multi-function module described above is set forth in several copending applications of Hans W. Klein, entitled "Integrated Circuit Having Programmable Analog Modules with Configurable Interconnects Between Them", one of which was filed Sep. 28, 1995, assigned Ser. No. 08/535,823. The contents of these applications is expressly incorporated herein by this reference.

It will be noted that the circuit descriptions given above implement the circuits with field effect transistors, which are preferably made with CMOS technology. However, it will be recognized that these circuits can alternatively be implemented with bipolar, BICMOS or with other appropriate devices and processes.

Although the various aspects of the present invention have been illustrated and described in a form of their preferred embodiments, it is to be understood that the invention is to be protected within the full scope of the appended claims. 

It is claimed:
 1. An analog current signal electronic circuit, comprising:at least one current mirroring circuit characterized by passing current in only one direction, means receiving a single ended bipolar analog current input signal for passing said current input signal through said mirroring circuit without any bias current applied thereto, first and second output circuits having respective first and second output nodes, and means connected to mirror the single ended bipolar current signal in said mirroring circuit into each of the first and second output circuits in a manner to produce an analog output current signal at said first and second output nodes that is a rectified version of said current input signal, and means other than the current mirroring circuit for maintaining substantially constant a voltage of an input node that receives said single ended bipolar input current signal.
 2. The electronic circuit of claim 1 which additionally comprises means responsive to an amplification factor signal for altering a mirroring ratio between said mirroring circuit and each of the first and second output circuits.
 3. An analog current signal electronic circuit, comprising:a first current mirroring circuit characterized by passing current in only one direction, means receiving a bipolar analog current input signal for passing said current input signal through said first mirroring circuit without any bias current applied thereto, first and second output circuits having respective first and second output nodes, and means connected to mirror the current signal in said first mirroring circuit into each of the first and second output circuits in a manner to produce an analog output current signal at said first and second output nodes that is a rectified version of said current input signal, and further wherein the first output circuit includes first and second output transistors connected in series with said first output node therebetween, the second output circuit includes third and fourth output transistors connected in series with said second output node therebetween, said said first mirroring circuit being connected to mirror its current to said first and third output transistors, a second mirroring circuit characterized by passing current in only one direction and being connected to mirror its current to said second and fourth output transistors, and means receiving the bipolar analog current input signal for passing said current input signal through said second mirroring circuit without any bias current applied thereto.
 4. The electronic circuit of claim 3 which additionally comprises means responsive to an amplification factor signal for altering the size of said first, second, third and fourth output transistors.
 5. The electronic circuit of either of claims 3 or 4 which additionally comprises means other than the mirroring transistors for maintaining substantially constant a voltage of an input node that receives said input current signal.
 6. An analog current signal electronic circuit, comprising:first and second analog current signal input nodes, first and second output circuits having respective first and second analog current signal output nodes, a first mirroring circuit connected to said first input node for mirroring a level of current of only one polarity from the first input node into each of the first and second output circuits, a second mirroring circuit connected to said second input node for mirroring a level of current of said only one polarity from the second input node into each of the first and second output circuits, and said first and second mirroring circuits being connectable to the first and second output circuits in a first manner to generate at said first and second output nodes a full wave rectified differential current analog version of a bipolar differential analog current signal applied to said first and second signal input nodes, wherein said first and second mirroring circuits are additionally connectable to the first and second output circuits in a second manner to generate at said first and second output nodes a bipolar differential current analog replica of a bipolar differential analog current signal applied to said first and second signal input nodes, and wherein said electronic circuit includes switching means responsive to a control signal to select between said first and second manners of connection between the mirroring and output circuits.
 7. The electronic circuit according to claim 6, whereinsaid first mirroring circuit is further connected to mirror a level of current in the first mirroring circuit (a) into the first output circuit with a first polarity with respect to said first output node, and (b) into the second output circuit with a second polarity with respect to said second output node, said first and second polarities being opposite to each other, and said second mirroring circuit is further connected to mirror a level of current in the second mirroring circuit (a) into the second output circuit with said first polarity with respect to said second output node, and (b) into the first output circuit with said second polarity with respect to said first output node.
 8. The electronic circuit of either of claims 6 or 7 which additionally comprises means other than the first and second mirroring circuits for maintaining substantially constant a voltage of said first and second analog current signal input nodes. 